﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FAP.DataAccess.BLL;

namespace FAP.DataAccess
{
    public class ChiTietNghiepVuDAO
    {
        private static FAPDataContext m_context = new FAPDataContext();
        public static chitietnghiepvu getCTNgiepVuByNghiepVuIDVaWebsiteID(chitietnghiepvu ctnv)
        {
            chitietnghiepvu ct = m_context.chitietnghiepvus.SingleOrDefault(p => p.websiteid == ctnv.websiteid && p.nghiepvuid == ctnv.nghiepvuid);
            return ct;
        }
    }
}
